package com.example.qxfw.ybzz.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.qxfw.common.entity.qx.YbzzForecastdiff;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface YbzzForecastdiffMapper extends BaseMapper<YbzzForecastdiff> {

    /**
     * 删除差值场数据
     * @param timespan
     * @param param1
     * @param param2
     * @param forecastType
     * @return
     */
    @Delete("delete form ybzz_forecastdiff where ${timespan} > ${param1} AND ${timespan} <= ${param2} and ForecastType=${forecastType}")
    Integer delete(String timespan, String param1, String param2, String forecastType);
}
